package com.hongyi.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hongyi.mapper.StudentsMapper;
import com.hongyi.pojo.Pie;
import com.hongyi.pojo.Students;
import com.hongyi.service.StudentsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author hongyi
 * @since 2023-08-30
 */
@Service
public class StudentsServiceImpl extends ServiceImpl<StudentsMapper, Students> implements StudentsService {
    @Resource
    StudentsMapper studentsMapper;

    @Override
    public List<Pie> pie() {
        return studentsMapper.pie();
    }
}
